<!doctype html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>Mochawesome Report Card</title>
    
    <link rel="stylesheet" href="css/mochawesome.css">
  </head>
  <body>

    <!-- NAVBAR -->
    <div class="navbar navbar-inverse navbar-fixed-top" role="navigation">
      <div class="container">
        <div class="report-info-cnt">
          <h1 class="report-title">simpleNode</h1>
          <h3 class="report-date">Sunday, July 24 2016, 02:38pm</h3>
        </div>
        <div class="nav-right">
          <div class="quick-summary-cnt">
              <ul class="list-unstyled quick-summary">
                <li class="qs-item summary-duration" title="Duration">48<span>MS</span></li>
                <li class="qs-item summary-suites" title="Suites">6</li>
                <li class="qs-item summary-tests" title="Tests">8</li>
                <li class="qs-item summary-passes" title="Passed" data-filter="passed">8</li>
                <li class="qs-item summary-failures" title="Failed" data-filter="failed">0</li>
                <li class="qs-item summary-pending" title="Pending" data-filter="pending">0</li>
              </ul>          </div>
          <button class="nav-menu-btn open-menu"><i class="icon-menu"></i></button>
        </div>
      </div>
    </div>

    <!-- Report Summary -->
    <div class="summary">
      <div class="container">
          <div class="row">
            <div class="summary-col summary-duration">
              <h1 class="summary-count">48<span>MS</span></h1>
              <h4 class="summary-label">MS</h4>
            </div>
            <div class="summary-col summary-suites" title="Suites">
              <h1 class="summary-count">6</h1>
              <h4 class="summary-label">Suites</h4>
            </div>
            <div class="summary-col summary-tests" title="Tests">
              <h1 class="summary-count">8</h1>
              <h4 class="summary-label">Tests</h4>
            </div>
            <div class="summary-col summary-passes" data-filter="passed" title="Passed">
              <h1 class="summary-count">8</h1>
              <h4 class="summary-label">Passed</h4>
            </div>
            <div class="summary-col summary-failures" data-filter="failed" title="Failed">
              <h1 class="summary-count">0</h1>
              <h4 class="summary-label">Failed</h4>
            </div>
            <div class="summary-col summary-pending" data-filter="pending" title="Pending">
              <h1 class="summary-count">0</h1>
              <h4 class="summary-label">Pending</h4>
            </div>
          </div>      </div>
    </div>
    <div class="statusbar">
      <div class="container">
          <div class="row">
            <div class="status-item status-item-pending-pct">0% Pending</div>
            <div class="status-item status-item-passing-pct success">100% Passing</div>
          </div>      </div>
    </div>

    <!-- Suites -->
    <div class="details container">
            <section class="suite-wrap">
          <div id="a40a0ac0-2471-491f-b730-77cf50d61b1e" class="suite has-suites">
            <h3 class="suite-title">file:功能测试</h3>
            <h5 class="suite-filename">/test/file_test.js</h5>
        
              <section class="suite-wrap">
          <div id="292c5e65-24dc-43a1-a525-f436d4dcbc0e" class="suite has-tests has-passed">
            <h3 class="suite-title">file.writeFile</h3>
            <h5 class="suite-filename">/test/file_test.js</h5>
            <!-- Suite Chart -->
            <div class="suite-chart-wrap">
              <canvas id="292c5e65-24dc-43a1-a525-f436d4dcbc0e" class="suite-chart" width="50" height="50" data-total-passes="2" data-total-failures="0" data-total-pending="0" data-total-skipped="0"></canvas>
            </div>
            <div class="suite-data-wrap">
              <!-- Suite Summary -->
              <ul class="suite-summary list-unstyled">
                <li class="suite-summary-item duration">11 ms</li>
                <li class="suite-summary-item tests">2</li>
                <li class="suite-summary-item passed">2</li>
                <li class="suite-summary-item failed">0</li>
                <li class="suite-summary-item pending">0</li>
              </ul>
              <!-- Test Info -->
              <div class="suite-test-wrap">
                <div class="suite-test-header" data-toggle="collapse" data-target="#292c5e65-24dc-43a1-a525-f436d4dcbc0e-test-list">
                  <h4 class="suite-test-header-title">Tests</h4>
                </div>
                <div id="292c5e65-24dc-43a1-a525-f436d4dcbc0e-test-list" class="list-group test-list collapse in">
                    <div id="c60ac8f0-d25a-47a1-9f3b-820dd35743f4" class="list-group-item test passed">
          <!-- Test Heading -->
          <div class="test-heading">
            <h4 class="test-title">
              <span class="text-muted hidden"> it </span>
              write file: success
            </h4>
            <div class="pull-right">
              <button class="btn btn-link btn-sm toggle-btn toggle-code collapsed" data-toggle="collapse" data-target="#c60ac8f0-d25a-47a1-9f3b-820dd35743f4 > .test-code.collapse">Code</button>
              <span class="test-duration fast">10 ms</span>
            </div>
          </div>
          <!-- Test Errors -->
          <!-- Test Code -->
          <div class="test-code collapse">
            <pre><code class="hljs javascript small"><span class="hljs-keyword">let</span> [path,data] = [<span class="hljs-string">"_readme.md"</span>,<span class="hljs-string">"说明文件：mocha 测试写入"</span>];<br><span class="hljs-keyword">return</span> file.writeFile(path,data).then(flag =&gt; expect(flag).to.be.equal(<span class="hljs-literal">true</span>));</code></pre>
          </div>
          <!-- Test Error Stack -->
        </div>            <div id="4fb1b2e0-d259-4f7b-a21b-bbf81971877a" class="list-group-item test passed">
          <!-- Test Heading -->
          <div class="test-heading">
            <h4 class="test-title">
              <span class="text-muted hidden"> it </span>
              write file: fail
            </h4>
            <div class="pull-right">
              <button class="btn btn-link btn-sm toggle-btn toggle-code collapsed" data-toggle="collapse" data-target="#4fb1b2e0-d259-4f7b-a21b-bbf81971877a > .test-code.collapse">Code</button>
              <span class="test-duration fast">1 ms</span>
            </div>
          </div>
          <!-- Test Errors -->
          <!-- Test Code -->
          <div class="test-code collapse">
            <pre><code class="hljs javascript small"><span class="hljs-keyword">let</span> [path,data] = [<span class="hljs-string">"_write-test.text"</span>,<span class="hljs-string">"input data: mocha 测试写入"</span>];<br><span class="hljs-keyword">return</span> file.writeFile(path,data).then(() =&gt; {},err =&gt; expect(<span class="hljs-literal">true</span>).to.be.equal(<span class="hljs-literal">true</span>));</code></pre>
          </div>
          <!-- Test Error Stack -->
        </div>        </div>
              </div>
            </div>
        
        
          </div>
        </section>
              <section class="suite-wrap">
          <div id="57cf8666-beaa-48df-a204-3d12ec279a14" class="suite has-tests has-passed">
            <h3 class="suite-title">file.readFile</h3>
            <h5 class="suite-filename">/test/file_test.js</h5>
            <!-- Suite Chart -->
            <div class="suite-chart-wrap">
              <canvas id="57cf8666-beaa-48df-a204-3d12ec279a14" class="suite-chart" width="50" height="50" data-total-passes="2" data-total-failures="0" data-total-pending="0" data-total-skipped="0"></canvas>
            </div>
            <div class="suite-data-wrap">
              <!-- Suite Summary -->
              <ul class="suite-summary list-unstyled">
                <li class="suite-summary-item duration">7 ms</li>
                <li class="suite-summary-item tests">2</li>
                <li class="suite-summary-item passed">2</li>
                <li class="suite-summary-item failed">0</li>
                <li class="suite-summary-item pending">0</li>
              </ul>
              <!-- Test Info -->
              <div class="suite-test-wrap">
                <div class="suite-test-header" data-toggle="collapse" data-target="#57cf8666-beaa-48df-a204-3d12ec279a14-test-list">
                  <h4 class="suite-test-header-title">Tests</h4>
                </div>
                <div id="57cf8666-beaa-48df-a204-3d12ec279a14-test-list" class="list-group test-list collapse in">
                    <div id="38e14d38-e74b-44bb-b601-59307f755a75" class="list-group-item test passed">
          <!-- Test Heading -->
          <div class="test-heading">
            <h4 class="test-title">
              <span class="text-muted hidden"> it </span>
              read file: success
            </h4>
            <div class="pull-right">
              <button class="btn btn-link btn-sm toggle-btn toggle-code collapsed" data-toggle="collapse" data-target="#38e14d38-e74b-44bb-b601-59307f755a75 > .test-code.collapse">Code</button>
              <span class="test-duration fast">5 ms</span>
            </div>
          </div>
          <!-- Test Errors -->
          <!-- Test Code -->
          <div class="test-code collapse">
            <pre><code class="hljs javascript small"><span class="hljs-keyword">let</span> path = <span class="hljs-string">"_readme.md"</span>;<br><span class="hljs-keyword">return</span> file.readFile(path).then(data =&gt; expect(data).to.be.equal(<span class="hljs-string">"说明文件：mocha 测试写入"</span>));</code></pre>
          </div>
          <!-- Test Error Stack -->
        </div>            <div id="7b7fd522-794f-4151-993f-9d69857f68bf" class="list-group-item test passed">
          <!-- Test Heading -->
          <div class="test-heading">
            <h4 class="test-title">
              <span class="text-muted hidden"> it </span>
              read file: fail
            </h4>
            <div class="pull-right">
              <button class="btn btn-link btn-sm toggle-btn toggle-code collapsed" data-toggle="collapse" data-target="#7b7fd522-794f-4151-993f-9d69857f68bf > .test-code.collapse">Code</button>
              <span class="test-duration fast">2 ms</span>
            </div>
          </div>
          <!-- Test Errors -->
          <!-- Test Code -->
          <div class="test-code collapse">
            <pre><code class="hljs javascript small"><span class="hljs-keyword">let</span> path = <span class="hljs-string">"_write-test,text"</span>;<br><span class="hljs-keyword">return</span> file.readFile(path).then(() =&gt; {}, err =&gt; expect(<span class="hljs-literal">true</span>).to.be.equal(<span class="hljs-literal">true</span>));</code></pre>
          </div>
          <!-- Test Error Stack -->
        </div>        </div>
              </div>
            </div>
        
        
          </div>
        </section>
        
          </div>
        </section>
            <section class="suite-wrap">
          <div id="f04f42f6-91dc-4f28-9dec-a384cc814585" class="suite has-suites">
            <h3 class="suite-title">utils 工具方法测试</h3>
            <h5 class="suite-filename">/test/utils_test.js</h5>
        
              <section class="suite-wrap">
          <div id="9fe7c9d7-6d69-49cd-b7c2-dd7146631f33" class="suite has-tests has-passed">
            <h3 class="suite-title">utils.getDef</h3>
            <h5 class="suite-filename">/test/utils_test.js</h5>
            <!-- Suite Chart -->
            <div class="suite-chart-wrap">
              <canvas id="9fe7c9d7-6d69-49cd-b7c2-dd7146631f33" class="suite-chart" width="50" height="50" data-total-passes="2" data-total-failures="0" data-total-pending="0" data-total-skipped="0"></canvas>
            </div>
            <div class="suite-data-wrap">
              <!-- Suite Summary -->
              <ul class="suite-summary list-unstyled">
                <li class="suite-summary-item duration">1 ms</li>
                <li class="suite-summary-item tests">2</li>
                <li class="suite-summary-item passed">2</li>
                <li class="suite-summary-item failed">0</li>
                <li class="suite-summary-item pending">0</li>
              </ul>
              <!-- Test Info -->
              <div class="suite-test-wrap">
                <div class="suite-test-header" data-toggle="collapse" data-target="#9fe7c9d7-6d69-49cd-b7c2-dd7146631f33-test-list">
                  <h4 class="suite-test-header-title">Tests</h4>
                </div>
                <div id="9fe7c9d7-6d69-49cd-b7c2-dd7146631f33-test-list" class="list-group test-list collapse in">
                    <div id="88654964-7dbc-4a31-af28-bbc94e58bfae" class="list-group-item test passed">
          <!-- Test Heading -->
          <div class="test-heading">
            <h4 class="test-title">
              <span class="text-muted hidden"> it </span>
              defe成功
            </h4>
            <div class="pull-right">
              <button class="btn btn-link btn-sm toggle-btn toggle-code collapsed" data-toggle="collapse" data-target="#88654964-7dbc-4a31-af28-bbc94e58bfae > .test-code.collapse">Code</button>
              <span class="test-duration fast">1 ms</span>
            </div>
          </div>
          <!-- Test Errors -->
          <!-- Test Code -->
          <div class="test-code collapse">
            <pre><code class="hljs javascript small">deferred.resolve(<span class="hljs-literal">true</span>);<br><span class="hljs-keyword">return</span> deferred.promise.then(data =&gt; expect(data).to.be.equal(<span class="hljs-literal">true</span>));</code></pre>
          </div>
          <!-- Test Error Stack -->
        </div>            <div id="8a2c4655-88e6-4169-8ba8-5028ad2dbdd8" class="list-group-item test passed">
          <!-- Test Heading -->
          <div class="test-heading">
            <h4 class="test-title">
              <span class="text-muted hidden"> it </span>
              defe失败
            </h4>
            <div class="pull-right">
              <button class="btn btn-link btn-sm toggle-btn toggle-code collapsed" data-toggle="collapse" data-target="#8a2c4655-88e6-4169-8ba8-5028ad2dbdd8 > .test-code.collapse">Code</button>
              <span class="test-duration fast">0 ms</span>
            </div>
          </div>
          <!-- Test Errors -->
          <!-- Test Code -->
          <div class="test-code collapse">
            <pre><code class="hljs javascript small">deferred.resolve(<span class="hljs-literal">true</span>);<br><span class="hljs-keyword">return</span> deferred.promise.then(() =&gt; {},data =&gt; expect(data).to.be.equal(<span class="hljs-literal">true</span>));</code></pre>
          </div>
          <!-- Test Error Stack -->
        </div>        </div>
              </div>
            </div>
        
        
          </div>
        </section>
              <section class="suite-wrap">
          <div id="ec8e2883-c005-49f3-a598-10d372745ea5" class="suite has-tests has-passed">
            <h3 class="suite-title">utils.when</h3>
            <h5 class="suite-filename">/test/utils_test.js</h5>
            <!-- Suite Chart -->
            <div class="suite-chart-wrap">
              <canvas id="ec8e2883-c005-49f3-a598-10d372745ea5" class="suite-chart" width="50" height="50" data-total-passes="2" data-total-failures="0" data-total-pending="0" data-total-skipped="0"></canvas>
            </div>
            <div class="suite-data-wrap">
              <!-- Suite Summary -->
              <ul class="suite-summary list-unstyled">
                <li class="suite-summary-item duration">8 ms</li>
                <li class="suite-summary-item tests">2</li>
                <li class="suite-summary-item passed">2</li>
                <li class="suite-summary-item failed">0</li>
                <li class="suite-summary-item pending">0</li>
              </ul>
              <!-- Test Info -->
              <div class="suite-test-wrap">
                <div class="suite-test-header" data-toggle="collapse" data-target="#ec8e2883-c005-49f3-a598-10d372745ea5-test-list">
                  <h4 class="suite-test-header-title">Tests</h4>
                </div>
                <div id="ec8e2883-c005-49f3-a598-10d372745ea5-test-list" class="list-group test-list collapse in">
                    <div id="e4afd72b-5b24-40fa-9672-680ebed0bbc2" class="list-group-item test passed">
          <!-- Test Heading -->
          <div class="test-heading">
            <h4 class="test-title">
              <span class="text-muted hidden"> it </span>
              when success
            </h4>
            <div class="pull-right">
              <button class="btn btn-link btn-sm toggle-btn toggle-code collapsed" data-toggle="collapse" data-target="#e4afd72b-5b24-40fa-9672-680ebed0bbc2 > .test-code.collapse">Code</button>
              <span class="test-duration fast">7 ms</span>
            </div>
          </div>
          <!-- Test Errors -->
          <!-- Test Code -->
          <div class="test-code collapse">
            <pre><code class="hljs javascript small">deferred1.resolve(<span class="hljs-literal">true</span>);<br>deferred2.resolve(<span class="hljs-literal">true</span>);<br><span class="hljs-keyword">return</span> utils.when([deferred1.promise,deferred2.promise]).then(data =&gt; {<br>	expect(data).to.be.deep.equal([<span class="hljs-literal">true</span>,<span class="hljs-literal">true</span>]);<br>});</code></pre>
          </div>
          <!-- Test Error Stack -->
        </div>            <div id="60d6d953-cbdb-433a-a4df-bfa9864d34ec" class="list-group-item test passed">
          <!-- Test Heading -->
          <div class="test-heading">
            <h4 class="test-title">
              <span class="text-muted hidden"> it </span>
              when fail
            </h4>
            <div class="pull-right">
              <button class="btn btn-link btn-sm toggle-btn toggle-code collapsed" data-toggle="collapse" data-target="#60d6d953-cbdb-433a-a4df-bfa9864d34ec > .test-code.collapse">Code</button>
              <span class="test-duration fast">1 ms</span>
            </div>
          </div>
          <!-- Test Errors -->
          <!-- Test Code -->
          <div class="test-code collapse">
            <pre><code class="hljs javascript small">deferred3.resolve(<span class="hljs-literal">true</span>);<br>deferred4.resolve(<span class="hljs-literal">false</span>);<br><span class="hljs-keyword">return</span> utils.when([deferred3.promise,deferred4.promise]).then(() =&gt; {}, data =&gt; expect(data).to.be.equal(<span class="hljs-literal">false</span>));</code></pre>
          </div>
          <!-- Test Error Stack -->
        </div>        </div>
              </div>
            </div>
        
        
          </div>
        </section>
        
          </div>
        </section>
    </div>

    <footer>
      <div class="container">
        <p>Report generated by <a href="http://adamgruber.github.io/mochawesome/" target="_blank">mochawesome</a>.<br>Designed and built by <a href="https://github.com/adamgruber" target="_blank">adamgruber</a>. &copy;2016.</p>
      </div>
    </footer>

    <!-- Nav Menu -->
    <div class="nav-menu-wrap">
      <div class="menu-overlay close-menu"></div>
      <nav class="menu">
        <button class="nav-menu-btn close-menu"><i class="icon-failed"></i></button>
        <ul class="list-unstyled main-menu">
                <li class="nav-menu-item">
                <a href="#a40a0ac0-2471-491f-b730-77cf50d61b1e" class="nav-menu-item-link">file:功能测试</a>
                  <ul class="list-unstyled sub-menu">
                    <li class="nav-menu-item">
                <a href="#292c5e65-24dc-43a1-a525-f436d4dcbc0e" class="nav-menu-item-link has-passes">file.writeFile</a>
            </li>
                  </ul>
                  <ul class="list-unstyled sub-menu">
                    <li class="nav-menu-item">
                <a href="#57cf8666-beaa-48df-a204-3d12ec279a14" class="nav-menu-item-link has-passes">file.readFile</a>
            </li>
                  </ul>
            </li>
                <li class="nav-menu-item">
                <a href="#f04f42f6-91dc-4f28-9dec-a384cc814585" class="nav-menu-item-link">utils 工具方法测试</a>
                  <ul class="list-unstyled sub-menu">
                    <li class="nav-menu-item">
                <a href="#9fe7c9d7-6d69-49cd-b7c2-dd7146631f33" class="nav-menu-item-link has-passes">utils.getDef</a>
            </li>
                  </ul>
                  <ul class="list-unstyled sub-menu">
                    <li class="nav-menu-item">
                <a href="#ec8e2883-c005-49f3-a598-10d372745ea5" class="nav-menu-item-link has-passes">utils.when</a>
            </li>
                  </ul>
            </li>
        </ul>
      </nav>
    </div>

    <!-- Scripts -->
    <script src="js/vendor.js"></script>
    <script src="js/mochawesome.js"></script>
  </body>
</html>
